{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>举报详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">举报人昵称：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.user_username}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">举报人手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.user_phone}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">举报人ID：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.user_create_id}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">被举报人昵称：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.to_user_name}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">被举报人手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.to_user_phone}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">是否已读：</label>
                            <div class="layui-input-block">
                                {if($detail.report_status == 1) }
                                <input type="text" class="layui-input" value="未读" disabled>
                                {else /}
                                <input type="text" class="layui-input" value="已读" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">举报原因：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.report_reason}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">举报时间：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$detail.report_time}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">举报类型：</label>
                            <div class="layui-input-block">
                                {if($detail.report_type == 1)}
                                <input type="text" class="layui-input" value="动态举报" disabled>
                                {/if}
                                {if($detail.report_type == 2)}
                                <input type="text" class="layui-input" value="评论举报" disabled>
                                {/if}
                                {if($detail.report_type == 3)}
                                <input type="text" class="layui-input" value="回复举报" disabled>
                                {/if}
                            </div>
                        </div>

                        <!--风讯-->
                        {if($detail.report_type == 1)}

                            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                                <label class="layui-form-label">风讯内容：</label>
                                <div class="layui-input-block">
                                    <textarea class="layui-textarea">{$detail.info_content}</textarea>
                                </div>
                            </div>

                            {if($detail.info_type == 2}
                            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                                <label class="layui-form-label">风讯图片：</label>
                                <div class="layui-input-block">
                                    {volist name='detail.info_images' id='vo'}
                                    <img src="{$vo}" class="img-circle" style="height:100px">
                                    {/volist}
                                </div>
                            </div>
                            {/if}

                            {if($detail.info_type == 3)}
                            <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                                <label class="layui-form-label">风讯视频：</label>
                                <div class="layui-input-block">
                                    <video width="320" height="240" controls>
                                        <source src="{$detail.info_images}" type="video/mp4">
                                    </video>
                                </div>
                            </div>
                            {/if}

                        {/if}

                        <!--评论-->
                        {if($detail.report_type == 2)}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评论内容：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea">{$detail.comment_content}</textarea>
                            </div>
                        </div>
                        {/if}

                        <!--回复-->
                        {if($detail.report_type == 3)}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">回复内容：</label>
                            <div class="layui-input-block">
                                <textarea class="layui-textarea">{$detail.report_content}</textarea>
                            </div>
                        </div>
                        {/if}

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
</body>
</html>
